<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>OSEEncoder.OSEEncoder</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="www.OSEKits.org">OSEkits Experiment Control Software</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="OSEEncoder-module.html">Module&nbsp;OSEEncoder</a> ::
        Class&nbsp;OSEEncoder
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="OSEEncoder.OSEEncoder-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class OSEEncoder</h1><p class="nomargin-top"><span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder">source&nbsp;code</a></span></p>
<pre class="base-tree">
object --+
         |
        <strong class="uidshort">OSEEncoder</strong>
</pre>

<hr />
<pre class="literalblock">

Class: OSEEncoder

Description:
    This class handles the use of the encoder sensor.  Contains functions to parse measurement packets, re-draw
    the display, and configure the sensors.

</pre>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="OSEEncoder.OSEEncoder-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Constructor</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="OSEEncoder.OSEEncoder-class.html#save_data" class="summary-sig-name">save_data</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">file_type</span>,
        <span class="summary-sig-arg">file</span>)</span><br />
      Function: save_data</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.save_data">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="OSEEncoder.OSEEncoder-class.html#start_measurement" class="summary-sig-name">start_measurement</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Function: start_measurement</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.start_measurement">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="OSEEncoder.OSEEncoder-class.html#stop_measurement" class="summary-sig-name">stop_measurement</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Function: stop_measurement</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.stop_measurement">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="OSEEncoder.OSEEncoder-class.html#smoothListGaussian" class="summary-sig-name">smoothListGaussian</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">list</span>,
        <span class="summary-sig-arg">strippedXs</span>=<span class="summary-sig-default">False</span>,
        <span class="summary-sig-arg">degree</span>=<span class="summary-sig-default">5</span>)</span><br />
      Function: smoothListGaussian</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.smoothListGaussian">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="OSEEncoder.OSEEncoder-class.html#add_measurement" class="summary-sig-name">add_measurement</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">measurement_packet</span>)</span><br />
      Function: add_measurement</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.add_measurement">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="OSEEncoder.OSEEncoder-class.html#_update_graphs" class="summary-sig-name" onclick="show_private();">_update_graphs</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Function: _update_graphs</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder._update_graphs">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="OSEEncoder.OSEEncoder-class.html#setup_display" class="summary-sig-name">setup_display</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">MainWindow</span>)</span><br />
      Function: setup_display</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.setup_display">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="OSEEncoder.OSEEncoder-class.html#destroy_display" class="summary-sig-name">destroy_display</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">MainWindow</span>)</span><br />
      Function: destroy_display</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.destroy_display">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="_measured_times"></a><span class="summary-name">_measured_times</span> = <code title="[]"><code class="variable-group">[</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="_measured_positions"></a><span class="summary-name">_measured_positions</span> = <code title="[]"><code class="variable-group">[</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="_measured_velocitys"></a><span class="summary-name">_measured_velocitys</span> = <code title="[]"><code class="variable-group">[</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="_measured_accelerations"></a><span class="summary-name">_measured_accelerations</span> = <code title="[]"><code class="variable-group">[</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="_smoothed_velocitys"></a><span class="summary-name">_smoothed_velocitys</span> = <code title="[]"><code class="variable-group">[</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="_smoothed_accelerations"></a><span class="summary-name">_smoothed_accelerations</span> = <code title="[]"><code class="variable-group">[</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="_pulse_distance"></a><span class="summary-name">_pulse_distance</span> = <code title="0.00663225115758">0.00663225115758</code>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Constructor</p>
  <dl class="fields">
    <dt>Overrides:
        object.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="save_data"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">save_data</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">file_type</span>,
        <span class="sig-arg">file</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.save_data">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

Function: save_data

Description:
    Takes data from last run thermocouple experiment and saves it to either a csv or xml file.
    
Parameters:
    String file_type: &quot;csv&quot; store data in csv format (tab delimited)
                      &quot;xml&quot; store data in xml format
    File file: an already opened file where the data is to be stored.

Returns:
    String: &quot;success&quot; if no errors encountered.
            &quot;&lt;error message&gt;&quot; otherwise

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="start_measurement"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">start_measurement</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.start_measurement">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

Function: start_measurement

Description:
    Called when starting to take measurements from the micro-controller. Initializes measurement storage
    and sets appropriate flags and counters.
    
Returns:
    string  &quot;success&quot; when no errors encountered
            &quot;&lt;error message&gt;&quot; otherwise

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="stop_measurement"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">stop_measurement</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.stop_measurement">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

Function: stop_measurement

Description:
    Called when done taking measurements from the micro-controller. Calculates the displacement,
    velocity, and acceleration measurements.
    
Returns:
    string  &quot;success&quot; when no errors encountered
            &quot;&lt;error message&gt;&quot; otherwise

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="smoothListGaussian"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">smoothListGaussian</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">list</span>,
        <span class="sig-arg">strippedXs</span>=<span class="sig-default">False</span>,
        <span class="sig-arg">degree</span>=<span class="sig-default">5</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.smoothListGaussian">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

Function: smoothListGaussian

Description:  
    Takes in a List of float values and smoothes them over a window of size degree.
    http://www.swharden.com/blog/2008-11-17-linear-data-smoothing-in-python/

Parameters:
    List: list: a List of float values
    Boolean: strippedXs:  unused in this version
    Integer: degree:  the size of the smoothing window.  
Returns:
    List of Floats

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="add_measurement"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">add_measurement</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">measurement_packet</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.add_measurement">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

Function: add_measurement

Description: 
    Takes in a measurement packet and converts the packet into usable data. Stores data
    in a list. 

Parameters: 
    string  a string containing all characters sent from the micro-controller
    
Returns:
    string  &quot;success&quot; if no errors encountered
            &quot;&lt;error message&gt;&quot; otherwise

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="_update_graphs"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">_update_graphs</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder._update_graphs">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

Function: _update_graphs

Description:
    Re-plots the three graphs in the main display.
    
Returns:
    Nothing

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="setup_display"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">setup_display</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">MainWindow</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.setup_display">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

Function: setup_display

Description:
    Adds all display elements to the main window.
    
Parameters:
    Tkinter.Tk   The main tk window object where the display will be altered
    
Returns:
    Nothing

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="destroy_display"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">destroy_display</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">MainWindow</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="OSEEncoder-pysrc.html#OSEEncoder.destroy_display">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

Function: destroy_display

Description:
    Removes all display elements from the main window.
    
Parameters:
    Tkinter.Tk   The main tk window object where the display will be altered

Returns:
    Nothing

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="www.OSEKits.org">OSEkits Experiment Control Software</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Fri Jul 29 08:43:32 2011
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
